﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Fastyou.WCF.Contracts
{
    [DataContract]
    public class FYDataContract
    {
        [DataMember(Name="FirstName")]
        public string Name
        {
            get;
            set;
        }

        [DataMember(IsRequired=true)]
        public string Email
        {
            get;
            set;
        }

        [DataMember]
        public decimal Salary
        {
            get;
            set;
        }
    }
}
